package com.aiit.ssm.model;

public class User {
	private  int userId;
	private String userName;
	private String userPwd;
	private String email;
	private String code;
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String username) {
		this.userName = username;
	}
	
	public String getUserPwd() {
		return userPwd;
	}
	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public User() {
		super();
	}
	public User(int uid, String username, String userPwd, String email, String code) {
		super();
		this.userId = uid;
		this.userName = username;
		this.userPwd = userPwd;
		this.email = email;
		this.code = code;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public User(int userId, String userName, String userPwd, String email) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.userPwd = userPwd;
		this.email = email;
	}
	
	public User(String userName, String userPwd) {
		super();
		this.userName = userName;
		this.userPwd = userPwd;
	}
	public User(String userName, String userPwd,String code) {
		super();
		this.userName = userName;
		this.userPwd = userPwd;
		this.code=code;
	}
	
	@Override
	public String toString() {
		return "User [userId=" + userId + ", userName=" + userName + ", userPwd=" + userPwd + ", email=" + email
				+ ", code=" + code + "]";
	}

	
	
	

}
